C code for PEGetNthTableType

Use the following code as an example of how to use the PEGetNthTableType function to find out the type of table being used in a particular report:

short        tableN;
struct PETableType tableType;
tableN = 0;
    // Obtain information about the first table in the report.
    // Initialize size of structure
tableType.StructSize = PE_SIZEOF_TABLE_TYPE;
if (!PEGetNthTableType(Job, tableN, &tableType)){
    // Handle error
}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com